package com.sdonkey.score.test.util;

import org.apache.commons.codec.digest.DigestUtils;

/**
 * @author HUJUN
 * @time 2017/2/8
 */
public class ShaUtil {

    public static String sign(String text,String key){
        return DigestUtils.sha1Hex((text+key).getBytes());
    }
}
